package com.ndd.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class CartNumUpdateDTO {
    //用户id
//    private Integer userId;
    //商品id
    @NotNull(message = "商品id不能为空")
    private Integer productId;
    //1或者-1
    private Boolean number;
}
